﻿@using KDS.Mes.Web.Navigation
@using Abp.Web.Mvc.Extensions
@using KDS.Mes.Authorization;
@using KDS.Mes.Mes.SeqJits
@using KDS.Mes.Web.Models.SeqJits
@using Abp.Application.Services.Dto
@model SeqJitsViewModel
@{
    ViewBag.ActiveMenu = PageNames.App.Common.SeqJits;
}

@section Styles{

   <link href="~/Content/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" rel="stylesheet" />
}


@* 注入所需JS *@
@section Scripts
{
<script src="~/Content/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
<script src="~/Content/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
<script src="~/Content/layer/layer.js"></script>
    @Html.IncludeScript("~/Views/SeqJits/_CreateOrEditSeqJitModal.js")
    @Html.IncludeScript("~/Views/SeqJits/Index.js")
}

<div class="box box-info collapsed-box">
    <div class="box-header with-border">
        <h3 class="box-title">@L("Query")</h3>
        <div class="box-tools pull-right">
            <button id="btn-query" type="button" class="btn btn-xs">
                <i class="fa fa-search">@L("Query")</i>
            </button>
            <button type="button" class="btn btn-box-tool" data-widget="collapse">
                <i class="fa fa-plus"></i>
            </button>
        </div>
    </div>
    <form class="form-horizontal">
        <div class="box-body">
            <div class="form-group">

                <label class="col-sm-1 control-label">@L("wh_area_id")</label>
                <div class="col-sm-1">
                    @Html.DropDownList("wh_area_id", Model.wh_area_ids.Select(a => a.ToSelectListItem()), new
               {
                   @class = "form-control selectpicker",
                   actionsBox = "true",
                   data_none_selected_text = L("PlaaseSelect"),
                   id = "wh_area_id"
               })
                </div>

                <label class="col-sm-1 control-label">@L("IF_FLAG")</label>
                <div class="col-sm-1">
                    @Html.DropDownList("IF_FLAG", Model.IF_FLAGs.Select(a => a.ToSelectListItem()), new
               {
                   @class = "form-control selectpicker",
                   actionsBox = "true",
                   data_none_selected_text = L("PlaaseSelect"),
                   id = "IF_FLAG"
               })
                </div>

                <label for="ALC_CD" class="col-sm-1 control-label">@L("ALC_CD")</label>
                <div class="col-sm-1">
                    <input type="text" class="form-control" id="ALC_CD">
                </div>
                <label class="col-sm-1 control-label">@L("CREATE_DTTM")</label>
                <div class="col-sm-2">
                    <div class="input-group">
                        <input id="time1" type="text" class="form-control" readonly>
                        <span class="input-group-btn">
                            <button class="btn default date-set" type="button">
                                <i class="fa fa-calendar"></i>
                            </button>
                        </span>
                    </div>
                </div>
                <div class="col-sm-2">
                    <div class="input-group">
                        <input id="time2" type="text" class="form-control" readonly>
                        <span class="input-group-btn">
                            <button class="btn default date-set" type="button">
                                <i class="fa fa-calendar"></i>
                            </button>
                        </span>
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>

@*<div class="col-md-12">*@
<div class="box">
    <div class="box-body">
        <!-- bootstrap-tablel指定的工具栏 -->
        <div id="toolbar" class="btn-group">
            <button id="btn-add" type="button" class="btn btn-primary">
                <span class="fa fa-plus" aria-hidden="true"></span> @L("Add")
            </button>
            <button id="btn-edit" type="button" class="btn btn-success">
                <span class="fa fa-pencil" aria-hidden="true"></span> @L("Edit")
            </button>
            <button id="btn-delete" type="button" class="btn btn-danger">
                <span class="fa fa-remove" aria-hidden="true"></span> @L("Delete")
            </button>
            <button id="btn-down" type="button" class="btn btn-info">
                <span class="fa fa-hand-o-down" aria-hidden="true"></span> @L("Down")
            </button>
            <button id="btn-export" type="button" class="btn btn-info">
                <span class="glyphicon glyphicon-export" aria-hidden="true"></span> @L("Export")
            </button>

        </div>
        <!--bootstrap-table表体-->
        <table id="tb"></table>
    </div>
</div>
<div class="form-group">

    
    <label for="ALC_CD" class="col-sm-1 control-label">@L("WORK_DATE")</label>
    <div class="col-sm-1">
        <input type="text" class="form-control" id="WORK_DATE">
    </div>
    <label for="ALC_CD" class="col-sm-1 control-label">@L("SEQ_NO_S")</label>
    <div class="col-sm-1">
        <input type="text" class="form-control" id="SEQ_NO_S">
    </div>
    <label for="ALC_CD" class="col-sm-1 control-label">@L("SEQ_NO_E")</label>
    <div class="col-sm-1">
        <input type="text" class="form-control" id="SEQ_NO_E">
    </div>
    <button id="btn-remark" type="button" class="btn btn-primary">
         @L("重置")
    </button>
               
              
</div>
@*</div>*@


















